home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 4
/
The Arsenal Files 4 (Arsenal Computer).ISO
/
tbbs
/
inetname.prg
< prev
next >
Wrap
Text File
|
1995-03-11
|
624b
|
12 lines
* Example of utility to show user's Internet email address
domain = "@esoft.com" && edit this with your domain name
name = LOWER(TRIM(UNAME())) && get user's name from TBBS
DO WHILE " " $ name && loop until no more spaces in name
s = AT(" ", name) && where is the first space?
name = LEFT(name, s - 1) + "." + SUBSTR(name, s + 1) && replace with period
ENDDO
? "Your internet mailing address is: "
?? CHR(34) + name + domain + CHR(34) && show user's email address
WAIT && wait for user to press a key